<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Mr.UBKey
 * Date: 30/10/2011
 * Time: 15:35
 * To change this template use File | Settings | File Templates.
 */
class Gallery_ComponentController extends XPHP_Controller
{
    public function certificateAction()
    {
        //Lấy ra danh sách tất cả các ảnh trong thư viện ảnh số 1
        $slide = new Areas_Gallery_Models_GalleryPhoto();
        $photos = $slide->getPhotos(1);
        $this->view->photos = $photos;
        return $this->view();
    }
}
